﻿using System.ComponentModel;

namespace YuYuKiCms.Framework.Localization
{
    public class DisplayNameFromDb : DisplayNameAttribute
    {
        #region Overrides of DisplayNameAttribute

        public DisplayNameFromDb(string displayName, string scope = null)
            : base(displayName)
        {
        }

        public override string DisplayName
        {
            get { return base.DisplayName; }
        }

        #endregion
    }
}